package com.platform.data.utils;

import com.alibaba.fastjson.JSON;

/**
 * Object工具类
 *
 * @author weijun.zhu
 * @date 2025/5/10 14:31
 */
public class ObjectUtil {

    /**
     * 将Object对象转String
     *
     * @param obj obj
     * @return {@link String}
     */
    public static String objToStr(Object obj) {
        return JSON.toJSONString(obj);
    }
}
